package java6;

public class Cool010 {
	public static void main(String[] args){
		int sum = 0;
		int i = 1;
		while(i <= 50 ) {
			
		   if (i%7==0) {
		       sum += i;
		       
		   }
	System.out.println(sum);
	i++;
		}
		
	}
	

}
